<template>
	<view class="imagePage">
		<view >
			<image :src="src" mode="widthFix" style="width: 100%;" @tap="back" ></image>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				src:''
			}
		},
		methods: {
			back(){
				uni.navigateBack();
			}
		},
		onLoad(e) {
			this.src=e.src;
		}
	}
</script>

<style>
.imagePage {
	background-color: black;
	width: 100%;
	height: 100vh;
	transform: translate(0%,0px) translateZ(0px);
	display: -webkit-flex; /* Safari */
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-content: center;
}

.imageItem {
	
}
</style>
